<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../static/js/vue.js"></script>
    <script src="../static/plugins/elementui/index.js"></script>
    <link rel="stylesheet" href="../static/plugins/elementui/index.css">

</head>
<body>
<div id="app" >

    <el-tabs v-model="activeName" type="card" @tab-click="handleClick" stretch="true">
        <el-tab-pane label="用户管理" name="first" style="height:800px;overflow-y:auto;overflow-x:hidden;">
            <div style="width:100%;height:100%;overflow:hidden;">
                <iframe src="http://www.baidu.com" scrolling="no" style="width:100%;height:100%;border:0;"></iframe>
            </div>
        </el-tab-pane>
        <el-tab-pane label="配置管理" name="second">配置管理</el-tab-pane>
        <el-tab-pane label="角色管理" name="third">角色管理</el-tab-pane>
        <el-tab-pane label="定时任务补偿" name="fourth">定时任务补偿</el-tab-pane>
    </el-tabs>

</div>
<script>
    var  vm = new Vue({
            el:"#app",
            data() {
                return {
                    activeName: 'first'
                }
            },
            methods: {
                handleClick(tab, event) {
                    //  选中对应的选项卡   传入 选项卡对象 tab
                    console.info(tab);
                }
            }
        }
    )
</script>
</body>
</html>